package com.healthy.controller;

import com.healthy.common.Res;
import com.healthy.entity.Customercare1;
import com.healthy.service.Customercare1Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/customercare1")
public class Customercare1Controller {

    @Autowired
    Customercare1Service customercare1Service;

    @GetMapping("/list")
    public Res cuLIst (Customercare1 customercare1){
        return new Res(1,"成功",customercare1Service.cuList());
    }
}
